package insight.sm.pojo;

import insight.sm.constants.Constants.ProjectStatusConstants;

import java.util.Date;

import javax.persistence.Column;

public class Project {
	@Column(name="id", insertable=false, unique=true)
	private int projectId;
	private int externalProjectId;
	private String projectName;
	private String description;
	@Column(name="projectManagerId")
	private int projectMgrId;
	private String location;
	private Date startDate;
	private Date endDate;
	//private ProjectStatusConstants projectStatus;
	private String projectStatus;
	@Column(insertable=false)
	private int externalSysId;
	private int projectType;
	
	public int getExternalSysId() {
		return externalSysId;
	}
	public void setExternalSysId(int externalSysId) {
		this.externalSysId = externalSysId;
	}
	public int getProjectType() {
		return projectType;
	}
	public void setProjectType(int projectType) {
		this.projectType = projectType;
	}
	
	public int getProjectMgrId() {
		return projectMgrId;
	}
	public void setProjectMgrId(int projectMgrId) {
		this.projectMgrId = projectMgrId;
	}
	public int getProjectId() {
		return projectId;
	}
	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}
	public int getExternalProjectId() {
		return externalProjectId;
	}
	public void setExternalProjectId(int externalProjectId) {
		this.externalProjectId = externalProjectId;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getProjectStatus() {
		return projectStatus;
	}
	public void setProjectStatus(String projectStatus) {
		this.projectStatus = projectStatus;
	}
	@Override
	public String toString() {
		return "Project [projectId=" + projectId + ", externalProjectId="
				+ externalProjectId + ", projectName=" + projectName
				+ ", description=" + description + ", projectMgrId="
				+ projectMgrId + ", location=" + location + ", startDate="
				+ startDate + ", endDate=" + endDate + ", projectStatus="
				+ projectStatus + ", projectType=" + projectType + "]";
	}
	
}
